I always considered ghost buttons to be ok, provided they are used as a secondary button in conjunction with a primary button. I'm not sure what the alternatives would be to indicate button hierarchy.
For example at the bottom of dialog two short bold text items are move acceptable then text-only buttons in other places.