Do not force CMAKE_INSTALL_PREFIX

It's /usr/local by default anyway, and setting disallows distro-specific
defaults or user override.
sys/sysinfo.h is specific ot Linux, not gcc
include cmath for sqrtf
Include local directories before everything else

This fixes build failures because of picking up system includes
instead of similarily named local ones
Enable warnings with clang as well
Merge pull request #307 from AMDmi3/freebsd-fixes

FreeBSD fixes