fix for generics are not supported in -source 1.3

Closes #1