add virtual function
don't load on windows