rename platform-nix.cpp to platform-x11.cpp