correct paths for x86_64/generic installations
inline default_reference_func to avoid multiple definition errors
Renamed the last digit of version string from RELEASE to REVISION.
Added REVISION macro and getting API.