Makefile fixes for native targets.