Fixed GCD build errors from KernelBatch refactoring
Fixed DX11 build errors from KernelBatch refactoring
Fixed a few OS X build errors.
Disabled paintTest on OS X