move libqc-opt to lib