Add nowarn_deprecated_type to build.