Changed pkgtool to use libflx object instead of plugin due to OSX lib load complications