fix linux/mac setup issue