Fix Error with empty library