Fixed issues with compiling.