adds -g compiler flag to enable debugging symbols in test executables