Just a heads up that I managed to solve it but I basically replaced the entire libraries folder with a working copy. Not really a solution that's tackling the issue, just one that's tackling the symptoms so to speak. Basically my install is now a Frankenstein of files.