[Build] Fixed compile errors