Fix compilation problem on OS X Mavericks
Bump version to 4.0.29