Changed compile type to library