Fixes some issues with VirtualBox support.