Fix issue on shader linker error (error message was never read)