Fixed a compile error, and added AE2 dependency to build script.