Adds OFED installation and fix minor bug.

Change-Id: I5fa18e0cac403f50fe03e33f6870d38411631d6d