Clear environment for GDB before build.