Make fancy-prompt platform independent