update travis to build shared libraries