GUI: save platform setting
Fixed #5585 (GUI: Project file -dialog lists all .cfg files as config libraries)
CLI: don't use unix-signals if NO_UNIX_SIGNAL_HANDLING is defined. don't use unix-signals in os/2.