Solved compilation errors in a_star.