Revert "Use sysctl module instead of libc hacks"

This reverts commit d640eb509fc3da594cec2c52104213a2e5c76c5c.

Conflicts:
	gui/middleware/notifier.py