support varying source and dest base paths in javac macros