Fixed calculation of neighbors index with pbc

I think the way pbc were applied was not correct (Fix #19).
Added flag to check if dlopen is available
Added regtest for LOAD
Merge branch 'fix-19' into v2.0
Merge branch 'v2.0'