fix compilation error appearing on Ubuntu 14.04