Add some missing 64-bit math functions for gcc