fixed, restore search_paths_first in platform_ldflags only to avoid gcc warning spew of 'linker input file unused because linking not done'
fixed compiler warning about unused var
Fix crash on delete of active profile
Merge pull request #2589 from leechguy/CONTROL_AUTOLOGIN

Fix crash on delete of active profile + other fixes for PR 2577
[fix] actually care about 12/24h clock in last introduced timeformats
Merge pull request #2595 from herrnst/pr-fixtimeformats12h

[fix] actually care about 12/24h clock in last introduced timeformats