add environment variable to force a build

this can be used to workaround #517
Merge pull request #529 from vivid-planet/force-build

add environment variable to force a build