Disable static linking.

- Causes error on OS X.