Fixed compatibility issues when compiling against libc++. Also `Makefile clean`
was missing some files.