Use -O0 instead of -O1 for Debug builds.