fix build for release