Fix imagick build-time deps
Closes #468, #475