fixes added for clang compile on mac
Merge pull request #174 from wkerzendorf/montecarlo/fix_maccompile

fixes added for clang compile on mac