Objective-c++ files were considered as c++ files.

Fix issue #313