Fix platform_io compilation error