fix build for latest nightly