Make sure all constants and classes are available on unsupported platforms

@csfrancis @dylanahsmith