So you need to use visual studio 12 (2013). (or you can change this line, for me it was if (NOT MSVC14), I don't really know if it will cause some problems later but it work)