adapt buildexe to manage platform and parser organisation