Fixes for Linux 64bit
fixes compile errors, tested on Ubuntu 13.10
Double Print
fixes double console prints on linux and osx
Merge pull request #10 from jdm12989/master

Fixes for Linux 64bit