Have you tried putting two dots in front of one single backslash?

#define PRAGMA_PATH "..\models";

That works for me.