Fixed 2 files needed to compile in linux

These changes allow for a successful compilation of RiotGear and RiotShield in linux (with mono's xbuild). To compile RiotUpdate you would need to fix another file that most likely would break compilation in Windows, so I am not requesting a pull of that file. Look in my repo if needed (master branch).