Fixed problem with ~/styles in mkgmap, needed to set styles=~/styles and use $styles.