auto-detect changed prefix and/or changed build flags