@Verytas Seems you are trying to use latest master branch with 7.x client. However master = 8.0.1.28153.
For 7.3.5 you probably want to go back to the commit that supported that version.
For example: git checkout -b 7.3.5 7.3.5/26972
See https://github.com/TrinityCore/TrinityCore/tags and https://git-scm.com/book/en/v2/Git-Basics-Tagging