add missing template for tests
move flags for precompilation script to standard unix positions