libhexen|ACScript: Fix build errors/warnings