Added target-dir attribute for the header and source files.