Fix Makefile based build.