More informative error msg
Fix for MacOSX