Fix build error with 4.8+ toolchains