Fix invalid preprocessor macro names

- PACKAGE_NAME and PACKAGE_VERSION seem to be lost in time and space
- required for homebrew to work on OSX