Fix libs build