check if ipopt is in the path