fixed makefile flag order