Add lstat to Newlib properly
Fix a few bugs found using clang
Upgrade to GCC 4.9.2