Correct "FreeBSD" case
linux/inotify_tests.cpp is Linux only
Use `uname -r` for better backward compatibility
Whitespace cleanup
It seems that CPack supports only Linux packages for now
Remove duplicated code in compiler & linker flags setup