Fix so this builds on 32 bit linux systems, modified linux swap information call

I ran into an issue when targeting ARM, which in my case is a 32 bit platform as the system calls this library invokes return the native int. 

I see this has been raised before in #5, this patch ensures the values are always cast to 64 bit.