fix an issue that ant build broke due to not able to recognize dynamic c...

...lass types