Removed trailing slashes from folder paths to avoid kernel building under Windows (MSVS).