Compilation errors are fixed

sorry for that :(
should not use Web interface to prepare patches :(