Fix compile flags for debug mode

3 jobs for gated_spectrometer in 11 minutes and 4 seconds (queued for 1 second)