fix build platforms