change cpp files to cc files to be compatible with rebar