fix modextrapaths for Chapel as needed

Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>
Merge pull request #683 from fgeorgatos/bugfix_Chapel

fix modextrapaths for Chapel as needed