Add support for post compile/install operations

 * Added support for pkg_post_compile() and pkg_post_install()