set the OPM_MACROS_ROOT variable

I somehow could not find a place were it was set and the configure
stage failed for me when writing config.h.