added explicit failure msg
Mac OS X specific stuff