Check for dependencies

see #58