Make json-spirit compile. Also switch to c++11 and fix a type problem (file size is unsigned long and c++11 will notice this and hate you for it)