Fix two build warnings