build: enable lto, use libgcc

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>