build libraries with superbuild