Fixed some apple related issues and added ./modules as fallback when loading modules...