Bump version to 1.6.2

Commit also contains fixes for make dist and make distcheck from master branch