Update target platform with latest dependencies and fix compile errors