fix for building <=0.9.2

0.9.2 and below do not include the locales folder.