[*] Buildsystem: Fix patching and configuring buildroot order

Signed-off-by: Anton Sergeev <Anton.Sergeev@elecard.ru>