64bit support

Closes #3