(build) typo fix for EGL platform and LWA_ on darwin
(shmif) fixed wrong environment variables mentioned in the comments
(luaif) fixed possible double-free in target_launch