Fixed edge case for Ubuntu 12.10

For some reason, Ubuntu 12.10 throws an integer overflow when passing `10 << 30`, while that works fine on a mac.

This fixes it.