Linux support

Linux support (64 bit). Based on my "fixes" branch for which I just sent a pull request.