add asprintf support if preprocessor variable was defined