version tweaks for debian and os x