update cmakefiles to avoid the need of building boost