Fixes setup's homedir creation and added g++ to the setup dependencies
as most emulators use g++ instead of gcc