fix INCLUDE_DIRS and LIBRARIES variables when path contains spaces