lib: relax compilation flags