[Xresources] cleaned up layout and build process