Micro-optimise cos calculation for set command.
Fix package path determination on Linux.
Release 1.10.