fix for wrong directory in linux cpp-template