Added library reconfigure system to change the library used at compile and for code completion.