Fix IDEA IC support
Merge pull request #515 from dlsniper/fix-ideaic-support

Fix IDEA IC support (fixes #507)