replace TARGET_PLATFORM_VERSION-maximum with TARGET_PLATFORM_VERSION_MAXIMUM (JBIDE-13452)