add environment variable to force a build

this can be used to workaround #517