Fixed a mistake in build order