manually adding -fPIC flag