Make dynGC dynamically determined. Closes #713