(cmake) Fixup for 54bc4ce44b

Fix OpenCV linking for Windows/MSVC and Linux/Gcc users