Exported library can only be compiled in-place; configure now exits if not in-place. Resolves #16
Some free functions are inlined. Resolves #17