fix modextrapaths for Chapel as needed

Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>