Prepare creating Python Objects for executable and library.
Move target functions from module, since they will be attached not at module but on targets.
Add stub for set_target_properties.