Fixed codeplex issue 24176
Merge pull request #347 from kenkendk/master

Fixed codeplex issue 24176
-Updated version to 6.0.5
-Fixed build