fixed compilation errors for coda on OS X with g++-4.2