Open avb next

Some simple fixes/changes to make compile and run again on Windows.