Fixed minor build warnings