Fixes #4195: fix compiling issue

http://www.rudder-project.org/redmine/issues/4195