Update OS X build.
Add GCC attributes to printf and scanf functions.
Fixed texture bug.
Partially fixed water bug.
Merge pull request #10 from penguinflyer5234/osx-build

Update OS X build.