Global shader string replacement (mainly for OS X)