Make make able to flip DEBUG_MOTION flag