Fixes #466, allow optimization target to be a rawText-provided value