Merge pull request #1226 from seanpaultaylor/next

Fixed xcode warnings for MacOSX
Fixed the specular lighting.