Added tiny fix for mac compiling