Fixed a problem with the FLAG_* defines.