change BUILD.md description to os generic
support case sensitive build
mv BUILD.md to README.md
FreeBSD support
support NetBSD
Fix formats.
Fix warnings.