Modified for 64-bit GNU/Linux compatibility.
Merge pull request #1 from ddugovic/master

Fixed compile and linker errors