real fix for access restriction error

The problem was real and could not be fixed with compiler settings. At
runtime, the class loader was not able to setup the class. The base
class of XYSeries - Series - has to be imported as well!