includes workaround for Debian 8+