lib_path should be called with assembled file name as argument