fix shader compile error in MACOSX.
Merge pull request #16 from Tsiannian/master

fix shader compile error in MACOSX.