build library instead of framework