Delete '--shared' option
It causes troubles, segfaults and such