rewire libpath for Chapel/1.8*

Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>
rewire libpath for Chapel/1.9*

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