build with amsdk