replace libapr by apr