Fix xslate building process

The _build_xslate method should check for a defined value since some
args might receive a valid zero value.