Support define.amd