Fix working on MAC using llvm compiler and default library