Fix constant, so the simple application can compile

The simple application currently does not compile because the constant RTI_PROFILE_ID_END does not exist anymore