[[ HiResPatterns ]] Fix linux compile errors after refactor