reconfigured library so files are properly included