some more linux build issues fixed.
VMApp builds successfully.