use registry property to indicate which endpoint build to do, fixes #217