#352 Finalize custom build targets and utilities as part of BASIS_BUILD_ONLY.

This change has been made before in a separate branch which I must have forgotten to merge into develop before creating this feature branch.