Support OpenCV and Boost free compilation and misc.

Add platform specific path separator.
Support OpenCV free compilation.
Support Boost free compilation.
Support .pack file format.