Simplify preprocessor magic and fix dedicated server build
Fix indention