Fix whitespaces

* Trim trailing whitespaces
* Convert tabs to spaces
Ignore *.o
Fix "‘_MAX_PATH’ was not declared in this scope" and related errors (Thanks to Jedediah Smith)