Changes to have Linux dedicated compiling again

A number of required changes for the Linux dedicated server to compile again.