Add code analysis to Release build

This should make it so code analysis build runs on the CI server.
Previously, it was only set for Debug builds.
Merge pull request #166 from octokit/haacked/enable-code-analysis-on-ci

Add code analysis to Release build