fixed failing in 12.04
fixed unhelpful error msg
Merge pull request #1 from dolphinigle/master

fixed failing in 12.04