Expose int math functions with different names in Lua to avoid overload resolution bugs. Closes #335.