Made the build flags for Weston optional