Fix errors found by xcode 5.1