add optional module dependency
Merge pull request #36 from tony2001/master

Merging dependency declaration for SPL, as the SPL must be loaded first. This only caused an issue when Imagick was compiled statically.