diff --git a/aegisub/build/msbuild/libaegisub/libaegisub.vcxproj b/aegisub/build/msbuild/libaegisub/libaegisub.vcxproj
index fde5b121b..4b2d56c79 100644
--- a/aegisub/build/msbuild/libaegisub/libaegisub.vcxproj
+++ b/aegisub/build/msbuild/libaegisub/libaegisub.vcxproj
@@ -100,11 +100,26 @@
$(IntDir)Common\
$(IntDir)Common\
+
+ $(IntDir)Common\
+ $(IntDir)Common\
+ $(IntDir)Common\
+
$(IntDir)Common\
$(IntDir)Common\
$(IntDir)Common\
+
+ $(IntDir)Common\
+ $(IntDir)Common\
+ $(IntDir)Common\
+
+
+ $(IntDir)Common\
+ $(IntDir)Common\
+ $(IntDir)Common\
+
$(IntDir)Common\
$(IntDir)Common\
diff --git a/aegisub/build/msbuild/libaegisub/libaegisub.vcxproj.filters b/aegisub/build/msbuild/libaegisub/libaegisub.vcxproj.filters
index e76eed75d..17b771425 100644
--- a/aegisub/build/msbuild/libaegisub/libaegisub.vcxproj.filters
+++ b/aegisub/build/msbuild/libaegisub/libaegisub.vcxproj.filters
@@ -157,6 +157,15 @@
Source Files\Common
+
+ Source Files\Common
+
+
+ Source Files\Common
+
+
+ Source Files\Common
+
diff --git a/aegisub/build/msbuild/lua51/lua51.vcxproj b/aegisub/build/msbuild/lua51/lua51.vcxproj
index 30f9e9af2..62bb346df 100644
--- a/aegisub/build/msbuild/lua51/lua51.vcxproj
+++ b/aegisub/build/msbuild/lua51/lua51.vcxproj
@@ -47,6 +47,7 @@
LUA_BUILD_AS_DLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ CompileAsCpp