Fixing the position of add_subdirectory(AMD) to be after Elemental checks but before tests subdirectory. Also, fixing a bug with the Python option
Fixing the position of add_subdirectory(AMD) to be after Elemental checks but before tests subdirectory. Also, fixing a bug with the Python option

xebitstudios/AMD,hamsal/AMD,xebitstudios/AMD,xebitstudios/AMD,hamsal/AMD,hamsal/AMD