Added profiler flags, changed default cflags