crypt: problems with #defines and strdup