Mac installation scripts fixes.