[m2cryto] fix build failer with some linux builds