Issue/21

intelligently detect which version of libortp is in use and adjust api usage accordingly