Fixing build to work on nightly builds.