xpiler: added output directory specifition support