fixed compiling on freebsd and added clang support
updated json-parser to newest version
minor fix in readme