Add missing compiler flag for simpletest
Incorporate Makefile link order fix