Updated Linux compilation to link to OpenCV dynamically
Moved version num to cmake, so it is available both at build and runtime
Tweaked library build for installer packaging