fix for build problem (https://www.mail-archive.com/users@buildr.apache.org/msg02829.html)