Build Gmsh also as library