generic_platform: get absolute path for added sources