Add automatic distribution checks for debian, scientific linux and mac os x. #81