Fix compiling for old Apple runtime