Some fix after compiling checks on ubuntu platform