Fix -pprof flag handling in gmw output