Fix nightly builds