Fixing various build issues
Adding config.h to .gitignore
Merge remote-tracking branch 'upstream/master' into physics_api_fix_readable_2013-05-03