Fix build on 1.8.