Remove unneeded libraries from main.cpp