Fix linux/mac build