Actually have Linux and Mac OS X version do the change

The previous code only changed WIN32 version :(