Make it works for Ubuntu 12.04