main: Include `<math.h>` in layers renderer for missing `tanf` function.