Build .cpp files separately and link them instead of #include all