Changed to build static lib instead of demo