Changes libraries to shared