Fix joint compilation issues

groovyc fails to generate Java stubs for statically imported elements
placed as annotation elements.
Merge pull request #1 from szpak/topic/fixEnable

Fix joint compilation issues