Sort cli via linker
Work with -O2, remove several statics