commsec: integrate library build into build system.