Fixed a framework build issue