Fix potential issues when shader path is missing a terminal /

Hi,

This fixes an error that may occur when the shader path is missing a terminal "/" leading to non-existing shaders trying to be loaded.

Best,