Rename MAX/MIN_PRIORITY to avoid conflicts on windows platform.