Use properly set debug and release build flags