build with and without cgo

Signed-off-by: Andrey Vagin <avagin@openvz.org>