Cleanup static linking options