Move hasinitfile check in setup.lua to after package.{path,cpath} have been modified. Closes #45