Unable to compile model

That should be CXX14 = g++ -std=c++1y rather than XX14.