updated build script for xwl