Fix for SWIG OpenCV namespace error

'using' directive doesn't work with SWIG, so added preprocessor
exclusion