Using extensions from newer versions of TC will likely not work, since they were compiled against newer libraries.
Replace -lfltk with the full path to the libfltk you want (replace the command with its output first). If you have nothing else using fltk 1.3, you could link flwm statically.
Alternatively, use an older, 1.1-compatible flwm from the git history.