Fixed libraries loading