fixed build for gcc 4.9, from monero