Check dependencies

The build would fail if python dev package was not installed.