Fix compilation with the latest nightly build