make compilable against 8.0 platform