Fix completion for Mac Os X