compiles on os x, linux 3.2