Fix whitespace encoding and gmock build