fix debian and ubuntu

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
fix debian ubuntu and parallel build

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>