Quickfix.
Merge pull request #3681 from Segrain/master

Compile fix.