Clean up bash files for darwin. Moved items from common to specific platform bash