Can you please apply the attached patch to the emacs-24 branch, run ./autogen.sh && configure && make clean && make, and then try it out on your platform? Thanks.