Fix for #65

Add const hook to access preprocessor constants.