Fixed error with libriaries (now really!)