Fixed build/install on modern Linux distribution