Should now compile in clang 3.0

Fixed various warning flags that don't exist in clang 3.0