XWIKI-10251: Build of xwiki-platform breaks with wrong locale