Fixed build and copied lib to build-res