split macro sources based on scala binary version

add source dirs for Scala 2.10.x and Scala 2.11.x to eliminate deprecation warnings for macro code