Move @build_type definition to where it will be used.