[coverage] Added a target to build the library from source without platform limitations (device only vs. simulator only)
[coverage] Using |if| statement to check weak symbol availability