Fixed library dependencies issue