Fixed and simplified finding color for generated icons
X11: Create autostart directory if it doesn't exist