made changes for Ubuntu 14.04 compatibility