makefile_bertw: make openmotif path fit for versions >= 2.3.1