Fix up two compiling issues. Thanks for kasim