fix printf compile error in Linux

Fixed compile error when performing make under Ubuntu linux