make sure PRETTY_LINKS is set before checking its value