Changed build target to lib