fix build flag