Handling skipping compilation on non-server builds