Switching to shared libraries