C: linux compile fix. numeric limits insted of INT32_MAX