Minor fix for compiling on Mac
Minor fixes for compiling on Mac