fixed delete order of builder and accel in virtual_accel.cpp