Remove static linking as it doesn't play nice.