add compound mesh, tweaks to build process