Fix: ensure that NuttX libraries are linked at the end as they are the root of linkage dependency tree.