Fix compiling issues.