don't write RegexOptions.Compiled to Scanner

The Portable Class Library doesn't support RegexOptions.Compiled. Also
need to expand this change to add a PortableLibrary option