Fix bash path finding for Mac compatibility