Fixed shader variable issue with Linux and Windows