Added GNU profiler flags to debug build.