Tweaks and optimizations for the VS project.