changes for compilation on c9