Added CMAKE_CONFIGURATION_TYPES to fix opencv cmake issue