Fixed wxMessages to be printed to StdErr in console

Compiling and running this on Linux caused wxMessages to not be printed
in console. This is now fixed.
Also added info needed to compile on CentOS.