I have tried with 6.0.1-1 and (what will become) 6.0.2-1 and it works fine for me. I do not know when this was actually fixed, my guess is 5.7.7-1 (when we started to use the traditional build system, thanks Marek!)
NB I had to comment out #include <ace/OS.h>, that was obsoleted with ACE 6.0.0 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org