Added include 'asserts.hpp' to preferences.cpp.