fixed build and removed .a files