Curl pkg causes duplicate definition error.