build error on release 52+
### Description

Build error in Alpine. See log below.

### Steps to Reproduce

Use this Dockerfile: https://github.com/r3gistry/docker_miningcore/blob/master/52/Dockerfile.amd64

### Expected behavior

build successful

### Actual behavior

build failed

### Reproduces how often

always

### Version

release v52, v53, v54

### Additional Information

Any additional information, log, configuration or data that might be necessary to reproduce the issue.

```console
In file included from equi/equihashverify.cc:2:
equi/equihashverify.cc: In function 'bool verifyEH_96_5(const char*, const std::vector<unsigned char>&, const char*)':
equi/crypto/equihash.h(220,20): error GCD05C931: 'invalid_argument' is not a member of 'std' [/tmp/miningcore-52/src/Miningcore/Miningcore.csproj]
220 | throw std::invalid_argument("Unsupported Equihash parameters"); \
| ^~~~~~~~~~~~~~~~
equi/equihashverify.cc:24:5: note: in expansion of macro 'EhInitialiseState'
24 | EhInitialiseState(n, k, state, personalization);
| ^~~~~~~~~~~~~~~~~
equi/equihashverify.cc: In function 'bool verifyEH_200_9(const char*, const std::vector<unsigned char>&, const char*)':
equi/crypto/equihash.h(220,20): error GCD05C931: 'invalid_argument' is not a member of 'std' [/tmp/miningcore-52/src/Miningcore/Miningcore.csproj]
220 | throw std::invalid_argument("Unsupported Equihash parameters"); \
| ^~~~~~~~~~~~~~~~
equi/equihashverify.cc:46:3: note: in expansion of macro 'EhInitialiseState'
46 | EhInitialiseState(n, k, state, personalization);
| ^~~~~~~~~~~~~~~~~
equi/equihashverify.cc: In function 'bool verifyEH_144_5(const char*, const std::vector<unsigned char>&, const char*)':
equi/crypto/equihash.h(220,20): error GCD05C931: 'invalid_argument' is not a member of 'std' [/tmp/miningcore-52/src/Miningcore/Miningcore.csproj]
220 | throw std::invalid_argument("Unsupported Equihash parameters"); \
| ^~~~~~~~~~~~~~~~
equi/equihashverify.cc:68:5: note: in expansion of macro 'EhInitialiseState'
68 | EhInitialiseState(n, k, state, personalization);
| ^~~~~~~~~~~~~~~~~
make: *** [<builtin>: equi/equihashverify.o] Error 1
/tmp/miningcore-52/src/Miningcore/Miningcore.csproj(98,9): error MSB3073: The command "(cd /tmp/miningcore-52/src/Miningcore/../Native/libmultihash && make clean && make) && mv /tmp/miningcore-52/src/Miningcore/../Native/libmultihash/libmultihash.so bin/Release/net5.0/" exited with code 2.
```