MP1-4155: fixed dependencies and release build