makepkg sources /etc/profile before calling build(). This will change the locale from C to en_US.UTF8.