Made a static lib target instead of framework