Fixing relative paths to headers, adding create_instance/create_instance_params optimizers [ci skip]