Documentation

Extended the Linux compilation howto to Linux + BSD compilation howto, tested with Debian Wheezy, Fedora 18, FreeBSD 9.1.

Fixed compile warnings on BSD caused by missing newline at the end of some files. Everything seems to work fine.