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.
Merge pull request #9 from TheHydroImpulse/master

Fixed edge case for Ubuntu 12.10