protected function buildCompileDirectory()
    {
        $directory = $this->getBasePath() . '/' . $this->getCompileDirectory();

        if (! is_dir($directory)) mkdir($directory, 0777, true);

        return $directory;
    }