build shared libraries instead of static