Moving build scripts to postinstall npm hook.