fix issue with build cmd opts