Workarounds for Clang (Apple XCode version 3.1)