Make sure all constants and classes are available on unsupported platforms

@csfrancis @dylanahsmith 
This is a duplicate