Fixed bug with missing libraries