Raise error if not running from compile directory