config: Fix platform compatibility.