Make Makefile more useful for cross-compiling