build on Linux
add -fPIC flags
use pkg-config on Linux to find OpenCV library