Allow compiling header-only libraries