aalib: rebuild, fix gpm linking, cleanup