Add rename to cmake. Fixes #181.