Ensure non-zero exit code if library cannot be found