Fix incorrect compiler options used when option missing from project.
Fix incorrect compiler options used when option missing from project.

mrward/typescript-addin,chrisber/typescript-addin,chrisber/typescript-addin,mrward/typescript-addin