Used more appropriated Makefile flags

Webots 7.1.1 will deprecate the CPP_SOURCES flag to use CXX_SOURCES instead.