add option to compile with lto