bvsls_opt_engine fixes

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>