Fix compilation

Fix #CR-1876 commit