fix missing deps, add FLTO flag