if a needed library cannot be found, the build should raise an error