Make Makefiles/run_test more flexible. This should help with compiling under different systems where extra/different command line parameters are needed.