Fix: hardcoded pointer size, segfault on 64 bit Linux
Fix: added missing _isnan macro for Linux
Change: minor modification for qsort parameter
Merge pull request #184 from exander77/master

Fixes for building on 32 and 64 bit Linux