provide a build for use with "globals", fixes #1