include locale.h on all platforms