fix for build types