Fixed references to darwin -> linux, updated static library build rule