[Python] reenable 'setFlags' functionality
after switching from cmake to make for dune-py the Python functions to set the compile flags and turn off dependency checks for debugging (e.g. dune.generated.setFlags) did not work anymore. This commit adds this functionality to the new builder