Link static on non-darwin platform.