Added omit-frame-pointer support. Inherited third party options and defines from opencv settings