Makefile portability fixes.