Updated makefiles to work with YC automatically.