fix build defs