fix typo in variable name
fix typo in CBC_USE_THREADS
fix missing include directory
fix linking with threads
fix link of an Osi example