Properly fix x509 being broken due to CGO cross compilation