Fixed missing typename, which caused compilation error on Windows