Add basic support for prefixes in makefile