fixing an issue that prevented compiling with latest bukkit