Error when building from git