Attempted shared lib build again, updated script