Add warning message to DEPRECATED_METHOD() for other compilers.
Add API macro for exposing types when writing Windows libraries.