Fix update to work on Linux systems.