Fixed a bug in building the solution.