compile into a real library file