Replaced OS X with Maid::Platform and a few bug fixes