ensure smooth compilation on various linux distros