SW backend: make shaders work on Intel/Windows.

Apparently the Intel shader compiler doesn't implement "#if" correctly...
so use "#ifdef" instead.
Merge pull request #227 from magumagu/swbackend-fix-shaders

SW backend: make shaders work on Intel/Windows.