Windows compilation fixes.
Handling zero-length log for shader compilation