Adding a method to build a xpl file.

***This file must be compiled with trioslib original source code.

Signed-off-by: Renato Stoffalette Joao <renatosjoao@gmail.com>