disable deprecation warning upon returning Type from `@:genericBuild` macro