fixing ofsoftswitch compile