[Core] Fix compilation on non-Pi systems.