potential fix for TypeInitializationException

http://stackoverflow.com/questions/3104356/
Merge branch 'master' of github.com:waf/CalCopy