haskell-validation: fix for buildCoreLibraries