Fixed basic compile errors.