install embedded frameworks correctly