Fixed bug in recorders.cpp and modified build system.