Fixed build on amazon linux