add unit tests and finding of boost libraries and other build issue fixes