I noticed that prelude-manager still trying to find Mysql and postresql libraries even when they are disabled in the USE flags. This is a reminder to myself ;)
This was fixed.