Add some 'expand-file-name
Add cmake mode