Removed compiler/cmake warnings