flexspec: update buildsystem for target changes