Use shared libraries rather than static libraries