simplify BUILD_TYPE access