Fix rpl app for clang