Add support for vagrant. fixes for linux