Add bin/detect_distro script