Make some libraries as header-only
Do not manually specify some compiler flags
Header-only libraries reorganised