fix windows problems following Lorenzos advice
restore backward compatibility with predefined options that are no longer available in the BDTs