Use shared libraries on linux