change behaviour of build flags