support compilation on Ubuntu