Cleanup
Added extra gcc flags to debug builds