Reinstate pre-build, since -Ptest doesn't fire lib dependency.