I have found the problem. The xml executable available to my PATH, that comes from my Oracle instalation, is probably too old and do not support the "sel" argument. I removed it from the path and added the xml executable from xml to my path. I removed the building folder and the source to be sure I restart from a clean project. The nmake is already building from 30 minutes, so at least the original problem was solved