some fixes with path issues (make sure it works if you have nothing installed!)