Fixed compiling issues.