reordered OpenCV libs to avoid static linkage problems on Linux