convenience function for building the xtm standard lib