Added cmake detection for GNU/Linux and FreeBSD, nx_platform.h now detects FreeBSD as well
Added proper detection of FreeBSD 64 bit