Fix breaking build with warn flag.