Fix some invalid defines.