fix a shit tone of build warnings (no function,cleaner gcc output)