load the right lib