Update readme and fix mac issues