compilePG can't locate

compiling project generator ( in ubuntu 16.04 gives me the following error:

gene@gene:~/of_v0.9.8_linux64_release/scripts/linux$ ./ 
make: Entering directory '/home/gene/of_v0.9.8_linux64_release/apps/projectGenerator/commandLine'
Makefile:13: ../../libs/openFrameworksCompiled/project/makefileCommon/ No such file or directory
make: *** No rule to make target '../../libs/openFrameworksCompiled/project/makefileCommon/'.  Stop.
make: Leaving directory '/home/gene/of_v0.9.8_linux64_release/apps/projectGenerator/commandLine'
There has been a problem compiling the command line projectGenerator.
Please report this problem in the forums.

hardcoding OF_ROOT to the actual full path instead of …/… fixed this for me, but seems like the original script, the relative paths are not set right?