Fixed bug with relative library paths