A bit of a hack for installing on a GNU-ish system, but seems to work well enough.