fix for Ubuntu 14.04