Added back end target specification to %lib, %link and %include directives

This is to be able to have different %lib, %link, %include files for different back ends while using one idr file.

As a result of discussion in IRC it may be best in the long run to move those directives to compiler flags and set these flags via an ipkg file.