Const must not depend on run-time information

Fix: https://github.com/shield-9/wp-amazonjs/commit/7bf7255879f3b2b02aff4d60f22edfb0da919e1d