Adapted to changes of libOpenACC