change build configuration to fix idea issues.