update preprocessor definitions and var names

update the preprocessor definition with a custom string to avoid
conflicts if linked with an other library

change the variables names in the server sources for a better
readability