Add CONFIG variable for conditional building of client or server