Fix bad framework build