clang FTBFS [wrong main declaration] buildlogs + patch, build now dies with 'clang: error: linker command failed with exit code 1 (use -v to see invocation)'