[lightspark] Use new cmake macros