Fixed distro dection and bumped version to 1.0.2