Fix IDE project generation under SBT

This fixes the problem with generation of IDEA and Eclipse projects described in https://github.com/mesos/spark/pull/750#issuecomment-23078354