Fixed processer detection for libtomcrypt.
Added preprecessor for modf (FreeBSD)
Added FreeBSD workaround.