bin/compile: Handle dots in Release when substituting