make it compile on Ubuntu LTS