Merging a build fix into Revit 2015

Merging [a previous build fix](https://github.com/DynamoDS/Dynamo/pull/2563) into Revit 2015.