Fix libs loading