Set lib static to get rid of shared lib